package com.zhxt.system.domain;


import javafx.scene.text.Text;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.time.LocalDate;

/**
 * 内容表文化表
 *
 * @author zhxt
 */

@Getter
@Setter
public class ZhxtContent {
    //自增主键
    private int id;
    //图文类型：event大事记，union党建工团，honour公司荣誉
    private String nrtype;
    //标题
    private String title;
    //描述
    private String desc;
    //banner图标
    private String imgurl;
    //排序
    private int sort;
    //事件日期
    private String indate;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("nrtype", getNrtype())
                .append("title", getTitle())
                .append("desc", getDesc())
                .append("imgurl", getImgurl())
                .append("sort", getSort())
                .append("indate", getIndate())
                .toString();
    }
}
